import { IPSAppDEMethod } from '../../app/dataentity/ipsapp-demethod';
import { IPSDEGEIUpdateDetail } from './ipsdegeiupdate-detail';
import { IPSModelObject } from '../../ipsmodel-object';

/**
 *
 * @export
 * @interface IPSDEGridEditItemUpdate
 */
export interface IPSDEGridEditItemUpdate extends IPSModelObject {
  /**
   * 代码标识
   * @type {string}
   */
  codeName: string;

  /**
   * 处理应用实体方法
   *
   * @type {IPSAppDEMethod}
   */
  getPSAppDEMethod(): IPSAppDEMethod | null;

  /**
   * 表格编辑项更新成员集合
   *
   * @type {IPSDEGEIUpdateDetail[]}
   */
  getPSDEGEIUpdateDetails(): IPSDEGEIUpdateDetail[] | null;

  findPSDEGEIUpdateDetail(objKey: any): IPSDEGEIUpdateDetail | null;

  /**
   * 脚本代码
   * @type {string}
   */
  scriptCode: string;

  /**
   * 自定义脚本代码
   * @type {boolean}
   * @default false
   */
  customCode: boolean;

  /**
   * 显示处理提示
   * @type {boolean}
   * @default true
   */
  showBusyIndicator: boolean;
}
